<?php /*a:3:{s:74:"D:\phpstudy_pro\WWW\git\DSMall\app\admin\view\editable_page\page_list.html";i:1591845922;s:64:"D:\phpstudy_pro\WWW\git\DSMall\app\admin\view\public\header.html";i:1591845922;s:69:"D:\phpstudy_pro\WWW\git\DSMall\app\admin\view\public\admin_items.html";i:1591845922;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>DSMall<?php echo htmlentities(lang('system_backend')); ?></title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
        <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
        <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
        <script type="text/javascript">
            var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
            var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
            var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
            var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
            var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
        </script>
    </head>
    <body>
        <div id="append_parent"></div>
        <div id="ajaxwaitid"></div>






<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3><?php if($type=='h5'): ?><?php echo htmlentities(lang('editable_page_h5')); else: ?><?php echo htmlentities(lang('editable_page_pc')); ?><?php endif; ?></h3>
                <h5></h5>
            </div>
            <?php if($admin_item): ?>
<ul class="tab-base ds-row">
    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
    <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
        </div>
    </div>

    <form method="get" name="formSearch">
        <div class="ds-search-form">
            <dl>
                <dt><?php echo htmlentities(lang('editable_page_name')); ?></dt>
                <dd><input type="text" name="editable_page_name" id="editable_page_name" class="txt" value='<?php echo htmlentities(app('request')->get('editable_page_name')); ?>'></dd>
            </dl>
            <div class="btn_group">
                <input type="hidden" name="type" value="<?php echo htmlentities($type); ?>">
                <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
                <?php if($filtered): ?>
                <a href="<?php echo url('EditablePage/page_list',['type'=>$type]); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
                <?php endif; ?>
            </div>
        </div>
    </form>
    
    <table class="ds-default-table">
        <thead>
            <tr class="thead">
                <th class="w96 align-center">ID</th>
                <th class="w270"><?php echo htmlentities(lang('editable_page_name')); ?></th>
                <th class="w270"><?php echo htmlentities(lang('editable_page_client')); ?></th>
                <th class="w270"><?php echo htmlentities(lang('editable_page_path')); ?></th>
                <th class="w120 align-center"><?php echo htmlentities(lang('editable_page_edit_time')); ?></th>
                <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
            </tr>
        </thead>
        <tbody id="treet1">
            <?php if(!(empty($editable_page_list) || (($editable_page_list instanceof \think\Collection || $editable_page_list instanceof \think\Paginator ) && $editable_page_list->isEmpty()))): if(is_array($editable_page_list) || $editable_page_list instanceof \think\Collection || $editable_page_list instanceof \think\Paginator): if( count($editable_page_list)==0 ) : echo "" ;else: foreach($editable_page_list as $key=>$v): ?>
            <tr class="hover edit row" id="ds_row_<?php echo htmlentities($v['editable_page_id']); ?>">
                <td class="name"><?php echo htmlentities($v['editable_page_id']); ?></td>
                <td class="name"><?php echo htmlentities($v['editable_page_name']); ?></td>
                <td class="name"><?php echo htmlentities($v['editable_page_client']); ?></td>
                <td class="name"><?php echo htmlentities(lang('editable_page_path_list')[$v['editable_page_path']]); ?></td>
                <td class="nowrap align-center"><?php echo htmlentities(date("Y-m-d H:i",!is_numeric($v['editable_page_edit_time'])? strtotime($v['editable_page_edit_time']) : $v['editable_page_edit_time'])); ?></td>
                <td class="align-center">
                    <a target="_blank" href="<?php echo htmlentities($v['view_url']); ?>" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('preview')); ?></a>
                    <a target="_blank" href="<?php echo htmlentities($v['edit_url']); ?>" class="dsui-btn-link"><i class="iconfont"></i><?php echo htmlentities(lang('decorate')); ?></a>
                    <a href="javascript:dsLayerOpen('<?php echo url('EditablePage/page_edit',['editable_page_id'=>$v['editable_page_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
                    <a href="javascript:dsLayerConfirm('<?php echo url('EditablePage/page_del',['editable_page_id'=>$v['editable_page_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>',<?php echo htmlentities($v['editable_page_id']); ?>)" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
                </td>
            </tr>
            <?php endforeach; endif; else: echo "" ;endif; else: ?>
            <tr class="no_data">
                <td colspan="5"><?php echo htmlentities(lang('ds_no_record')); ?></td>
            </tr>
            <?php endif; ?>
        </tbody>
    </table>
    <?php echo $show_page; ?>
</div>
